projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76c8ee6
)
fix format-overflow= warning with g++-8 in mkshort.cc (#361)
author
tsteven4
<13596209+tsteven4@users.noreply.github.com>
Thu, 23 May 2019 12:57:43 +0000
(06:57 -0600)
committer
GitHub
<noreply@github.com>
Thu, 23 May 2019 12:57:43 +0000
(06:57 -0600)
This is Fedora patch 0006-Fix-Wformat-overflow.patch.
mkshort.cc
patch
|
blob
|
history
diff --git
a/mkshort.cc
b/mkshort.cc
index c0179e920db798db44f86889fa1402014c231016..737f02b561583e131988dfed33111716e8d9ee27 100644
(file)
--- a/
mkshort.cc
+++ b/
mkshort.cc
@@
-140,7
+140,7
@@
mkshort_add_to_list(mkshort_handle_imp* h, char* name)
uniq_shortname* s;
while ((s = is_unique(h, name))) {
- char tbuf[1
0
];
+ char tbuf[1
3
];
size_t l = strlen(name);
s->conflictctr++;